package org.jeecg.modules.zcglRecipients.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 资产领用记录表
 * @Author: jeecg-boot
 * @Date:   2022-10-24
 * @Version: V1.0
 */
@ApiModel(value="zcgl_recipients对象", description="资产领用")
@Data
@TableName("zcgl_recipients_assets")
public class ZcglRecipientsAssets implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**资产id*/
	@Excel(name = "资产id", width = 15)
	@ApiModelProperty(value = "资产id")
	private String assetId;
	/**资产规格*/
	@Excel(name = "资产规格", width = 15)
	@ApiModelProperty(value = "资产规格")
	private String assetSpecifications;
	/**资产单位*/
	@Excel(name = "资产单位", width = 15)
	@ApiModelProperty(value = "资产单位")
	private String assetUnit;
	/**资产数量*/
	@Excel(name = "资产数量", width = 15)
	@ApiModelProperty(value = "资产数量")
	private BigDecimal assetAmount;
	/**资产价格*/
	@Excel(name = "资产价格", width = 15)
	@ApiModelProperty(value = "资产价格")
	private java.math.BigDecimal assetPrice;
	/**资产类别*/
	@Excel(name = "资产类别", width = 15)
	@ApiModelProperty(value = "资产类别")
	private String assetType;
	/**资产总价*/
	@Excel(name = "资产总价", width = 15)
	@ApiModelProperty(value = "资产总价")
	private java.math.BigDecimal total;
	/**领用id*/
	@ApiModelProperty(value = "领用id")
	private String zcglRecipientsId;


	@Excel(name = "资产名字", width = 15)
	@ApiModelProperty(value = "资产名字")
	private String assetName;

	@Excel(name = "备注", width = 30)
	@ApiModelProperty(value = "备注")
	private String remark;


	/**物资类别*/
	@Excel(name = "物资编码", width = 15)
	@ApiModelProperty(value = "物资编码")
	private String assetCode;


	@TableField(exist = false)
	private BigDecimal trueCount;
	@TableField(exist = false)
	private String assetFixedCategoryId;

	private String companyId;



}
